home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 15
/
BBS in a box XV-2.iso
/
Files II
/
Prog
/
M
/
MacPerl 4.13 tool.sit
/
Perl Tool ƒ
/
t
/
base
/
pat.t
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1993-10-23
|
264 b
|
12 lines
|
[
TEXT/MPS
]
#!./perl
# $Header: pat.t,v 4.0 91/03/20 01:49:12 lwall Locked $
print "1..2\n";
# first test to see if we can run the tests.
$_ = 'test';
if (/^test/) { print "ok 1\n"; } else { print "not ok 1\n";}
if (/^foo/) { print "not ok 2\n"; } else { print "ok 2\n";}